﻿/**************************************************************
 * Copyright www.eastmoney.com. All rights reserved.
 * 
 * Author: gt1987(guitao@eastmoney.com) 
 * Create Date: 2021/3/2 11:03:08
 * Description: 
 *          
 * Revision History:
 *      Date         Author               Description
 *              
***************************************************************/

using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace WorkerService.Sample
{
    public class SerilogSampleHostedService:BackgroundService
    {
        private readonly ILogger<SerilogSampleHostedService> _logger;

        public SerilogSampleHostedService(ILogger<SerilogSampleHostedService> logger)
        {
            _logger = logger;
        }

        protected override async Task ExecuteAsync(CancellationToken stoppingToken)
        {
            await Task.CompletedTask;
            //throw new NotImplementedException();
        }
    }
}
